package entities;

import services.impl.StandardOPs;
import java.util.List;
import java.util.LinkedList;
import java.util.ArrayList;
import java.util.Arrays;
import java.time.LocalDate;
import java.io.Serializable;
import java.lang.reflect.Method;

public class SessionRecord implements Serializable {
	
	/* all primary attributes */
	private String RecordId;
	private LocalDate CheckTime;
	private SessionType Type;
	private String FailureReason;
	
	/* all references */
	private Member SessionRecordToMember; 
	private WorkoutSession SessionRecordToSession; 
	private CheckInDevice SessionRecordToDevice; 
	
	/* all get and set functions */
	public String getRecordId() {
		return RecordId;
	}	
	
	public void setRecordId(String recordid) {
		this.RecordId = recordid;
	}
	public LocalDate getCheckTime() {
		return CheckTime;
	}	
	
	public void setCheckTime(LocalDate checktime) {
		this.CheckTime = checktime;
	}
	public SessionType getType() {
		return Type;
	}	
	
	public void setType(SessionType type) {
		this.Type = type;
	}
	public String getFailureReason() {
		return FailureReason;
	}	
	
	public void setFailureReason(String failurereason) {
		this.FailureReason = failurereason;
	}
	
	/* all functions for reference*/
	public Member getSessionRecordToMember() {
		return SessionRecordToMember;
	}	
	
	public void setSessionRecordToMember(Member member) {
		this.SessionRecordToMember = member;
	}			
	public WorkoutSession getSessionRecordToSession() {
		return SessionRecordToSession;
	}	
	
	public void setSessionRecordToSession(WorkoutSession workoutsession) {
		this.SessionRecordToSession = workoutsession;
	}			
	public CheckInDevice getSessionRecordToDevice() {
		return SessionRecordToDevice;
	}	
	
	public void setSessionRecordToDevice(CheckInDevice checkindevice) {
		this.SessionRecordToDevice = checkindevice;
	}			
	


}
